
project(xmldemo)

cmake_minimum_required(VERSION 2.4 FATAL_ERROR)

aux_source_directory(. SRCS)

add_executable(${PROJECT_NAME} ${SRCS})

find_package(LibXml2 REQUIRED)
include_directories(${LIBXML2_INCLUDE_DIR})
target_link_libraries(${PROJECT_NAME} ${LIBXML2_LIBRARIES})
